package chp02;

import java.util.Scanner;

public class Test11 {

    public static void main(String[] args) {
        //输入成绩，判断是否及格
        Scanner input = new Scanner(System.in);
        System.out.println("请输入成绩:");
        int score = input.nextInt();
        System.out.println("是否及格:");
        boolean flag = (score >= 60);
        System.out.println(flag);
    }
}
